package framework.base;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.UpdateProvider;

public interface UpdateObjectMapper {

    @UpdateProvider(type = UpdateObjectProvider.class, method = "updateObjectById")
    int updateObjectById(@Param("obj") Object obj);

    @UpdateProvider(type = UpdateObjectProvider.class, method = "updateObject")
    int updateObject(@Param("obj") Object obj, @Param("where") Object where);

}
